import Vue from 'vue'
import Router from 'vue-router'

import Login from 'views/login.vue'
import Home from 'components/Home.vue'
/**系统管理 */
import menu from 'views/systemManage/menu.vue'
import roles from 'views/systemManage/roles.vue'
import department from 'views/systemManage/department.vue'
import user from 'views/systemManage/user.vue'
import code from 'views/systemManage/code.vue'
import log from 'views/systemManage/log.vue'



/**营运管理 */ 
import newPulpFilling from 'views/operationManage/newPulpFiling.vue'
import register from 'views/operationManage/register.vue'
import bodyCheck from 'views/operationManage/bodyCheck.vue'
import sample from 'views/operationManage/sample.vue'
import distribution from 'views/operationManage/distribution.vue'

/**营运管理 _by:zf  beging*/
import untreated from 'views/operationManage/untreated.vue';
import pulpCollect from 'views/operationManage/pulpCollect.vue';
import cost1 from 'views/operationManage/cost1.vue';
import cost2 from 'views/operationManage/cost2.vue';
import heatSeal from 'views/operationManage/heatSeal.vue';
/**营运管理 _by:zf end */

import dating from 'views/operationManage/video/dating.vue';
import caijiangshi from 'views/operationManage/video/caijiangshi.vue';
import shiyanshi from 'views/operationManage/video/shiyanshi.vue';
/**统计分析 */
import cjlqs from 'views/operationManage/statisticalAnalysis/cjlqs.vue'
import zdcfx from 'views/operationManage/statisticalAnalysis/zdcfx.vue'
import yynlfx from 'views/operationManage/statisticalAnalysis/yynlfx.vue'
import cjltjb from 'views/operationManage/statisticalAnalysis/cjltjb.vue'
import tqydqjltj from 'views/operationManage/statisticalAnalysis/tqydqjltj.vue'
/**血源管理 */
import xylink from 'views/operationManage/bloodSources/bloodSourceLink/xylink.vue'
import xyremind from 'views/operationManage/bloodSources/recordManagement/xyRemind.vue'
import xynopulping from 'views/operationManage/bloodSources/recordManagement/xyNoPulping.vue'
import xyreturnvisit from 'views/operationManage/bloodSources/bloodSourceLink/xyreturnvisit.vue'
import xyfivelink from 'views/operationManage/bloodSources/bloodSourceLink/xyFiveLink.vue'
import xyvoluntee from 'views/operationManage/bloodSources/bloodSourceLink/xyVoluntee.vue'
import xyvolunteedetail from 'views/operationManage/bloodSources/bloodSourceLink/xyVolunteeDetail.vue'
import xyLinkDetail from 'views/operationManage/bloodSources/bloodSourceLink/xyLinkDetail.vue'
import xyNurseAnalysis from 'views/operationManage/bloodSources/bloodSourceLink/xyNurseAnalysis.vue'


Vue.use(Router)
export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
        component: Home,
        meta: {title: '自述文件'},
        children: [
          /**系统管理 */
          {meta: {title: '菜单管理'},path: '/adscm/system/menu',component: menu},
          {meta: {title: '角色管理'},path: '/adscm/system/role',component: roles},
          {meta: {title: '部门管理'},path: '/adscm/system/dept',component: department},
          {meta: {title: '用户管理'},path: '/adscm/system/user',component: user},
          {meta: {title: '日志管理'},path: '/adscm/system/log',component: log},
          {meta: {title: '码表管理'},path: '/adscm/system/code',component: code},
          
          
          
          /**营运管理 */
           {meta: {title: '建档记录'}, path: '/jz/application/providerInfo', component: newPulpFilling},
           {meta: {title: '登记记录'}, path: '/jz/application/providerReg', component: register},
           {meta: {title: '体检记录'}, path: '/adscm/application/bodyCheck', component: bodyCheck},
           {meta: {title: '检验记录'}, path: '/jz/application/sample', component: sample},
           {meta: {title: '分配记录'}, path: '/adscm/application/providerAllot', component: distribution},


         /**营运管理 老版页面 _by:zf beging */
           {meta: {title: '未处理采浆记录'}, path: '/adscm/application/providerCollection', component: untreated},
           {meta: {title: '采浆记录'}, path: '/adscm/application/providerCollection/59', component: pulpCollect},
           {meta: {title: '未处理费用记录'}, path: '/adscm/application/providerCost/63', component: cost1},
           {meta: {title: '费用记录'}, path: "/adscm/application/providerCost/65", component: cost2},
           {meta: {title: '热和记录'}, path: '/adscm/application/heatSeal', component: heatSeal},
         /**营运管理 老版页面 _by:zf end */
         /**视频查看 */
           {meta: {title: '大厅视频'}, path: '/jz/video/hall', component: dating},
           {meta: {title: '采浆室视频'}, path: '/jz/video/collRoom', component: caijiangshi},
           {meta: {title: '实验室视频'}, path: '/jz/video/assayRoom', component: shiyanshi},
           /**统计分析 */ 
          //  运营能力分析
           {meta: {title: '运营能力统计分析'}, path: '/adscm/analysis/operationalManage', component: yynlfx},
           /** 血源发展分析*/
           {meta: {title: '采浆量趋势地图'}, path: '/adscm/analysis/cjlqs', component: cjlqs},
           {meta: {title: '重点发展村分析地图'}, path: '/adscm/analysis/zdcfx', component: zdcfx},
           {meta: {title: '采浆量统计表'}, path: '/adscm/analysis/cjltjb', component: cjltjb},
           {meta: {title: '同期与当期浆量统计'}, path: '/adscm/analysis/tqydqjltj', component: tqydqjltj},
           /** 血源管理 */
              /**血源链接 */
           {meta: {title: '血源链接'}, path: '/adscm/bloodSources/xyLink', component: xylink},
           {meta: {title: '献浆提醒记录'}, path: '/adscm/bloodSources/recordManagement/xyremind', component: xyremind,props:{remindStatus:2}},
           {meta: {title: '已办提醒记录'}, path: '/adscm/bloodSources/recordManagement/xyremindRemindStatus1', component: xyremind,props:{remindStatus:1}},
           {meta: {title: '未献浆人记录'}, path: '/adscm/bloodSources/xyNoPulping', component: xynopulping,props:{isDeal:2}},
           {meta: {title: '已办未献浆人记录'}, path: '/adscm/bloodSources/xyNoPulpinged', component: xynopulping,props:{isDeal:1}},
           {meta: {title: '外出务工未献浆人记录'}, path: '/adscm/bloodSources/xyNoPulpingedOut', component: xynopulping,props:{isOutTask:1}},
           {meta: {title: '已再次献浆人记录'}, path: '/adscm/bloodSources/xyNoPulpingedAgn', component: xynopulping,props:{isAgingPulping:1}},
           {meta: {title: '待办回访记录'}, path: '/adscm/bloodSources/xyReturnVisit/isCompleteF', component: xyreturnvisit,props:{isComplete:false}},
           {meta: {title: '已办回访记录'}, path: '/adscm/bloodSources/xyReturnVisit/isCompleteT', component: xyreturnvisit,props:{isComplete:true}},
           {meta: {title: '五步链接'}, path: '/adscm/bloodSources/xyfivelink/isCompleteF', component: xyfivelink,props:{isComplete:false}},
           {meta: {title: '义工成果汇总'}, path: '/adscm/bloodSources/xyVoluntee', component: xyvoluntee},
           {meta: {title: '义工成果明细'}, path: '/adscm/bloodSources/xyVolunteeDetail', component: xyvolunteedetail},
           {meta: {title: '链接护士统计'}, path: '/adscm/bloodSources/xyNurseAnalysis', component: xyNurseAnalysis},
           {meta: {title: '链接成果汇总'}, path: '/adscm/bloodSources/xyLinkDetail', component: xyLinkDetail}
        ]
    },
    {
      path: '/login',
      component: Login
      
    }
  ]
})